package com.csun.cmny.provider.service;

import com.csun.cmny.provider.dto.ExamineDto;
import com.csun.cmny.provider.pojo.Oldman;
import com.csun.cmny.provider.vo.ExamineManVo;
import com.csun.cmny.provider.vo.ExamineVo;


import java.util.List;
import java.util.Map;

public interface ExamineService {

    // 添加体检记录
    public int insert(ExamineDto examine);

    // 根据记录id 删除数据
    public int delete(ExamineDto examine);

    // 修改记录
    public int update(ExamineDto examine);

    // 查询单条体检记录
    public ExamineVo selectByID(ExamineDto examine);

    // 根据oldmanId查询记录
    public List<ExamineVo> selectByoldmanId(Integer oldmanid);


    // 综合查询
    public List<ExamineVo> examineShowAll(Map<String, Object> queryParam);

    List<ExamineManVo> selectOldmans(Integer homeid);
}
